aboutsummaryrefslogtreecommitdiffstats
path: root/python2-numpydoc [disowned]/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-09 17:44:17 +0100
committerMattias Andrée <maandree@kth.se>2016-03-09 17:44:17 +0100
commitceaf2c7950ebd792ca569ad538f126ff2aaa617a (patch)
treebfc840f8d1d23dd4a893776b59a1b9017370626f /python2-numpydoc [disowned]/PKGBUILD
parentupdate python2-numpydoc (diff)
downloadaur-packages-ceaf2c7950ebd792ca569ad538f126ff2aaa617a.tar.gz
aur-packages-ceaf2c7950ebd792ca569ad538f126ff2aaa617a.tar.bz2
aur-packages-ceaf2c7950ebd792ca569ad538f126ff2aaa617a.tar.xz
disowning python2-numpydoc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'python2-numpydoc [disowned]/PKGBUILD')
-rw-r--r--python2-numpydoc [disowned]/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/python2-numpydoc [disowned]/PKGBUILD b/python2-numpydoc [disowned]/PKGBUILD
new file mode 100644
index 0000000..311df58
--- /dev/null
+++ b/python2-numpydoc [disowned]/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+# Previous maintainer: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
+
+pkgname=python2-numpydoc
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Sphinx extension to support docstrings in Numpy format"
+arch=('any')
+url="https://github.com/numpy/numpy/tree/master/doc"
+license=('BSD')
+depends=('python2' 'python2-sphinx')
+backup=()
+options=(!emptydirs)
+install=
+source=(http://pypi.python.org/packages/source/n/numpydoc/numpydoc-$pkgver.tar.gz)
+md5sums=('5f1763c44e613850d56ba1b1cf1cb146')
+
+package() {
+
+ cd "$srcdir/numpydoc-$pkgver"
+
+ python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
+
+ install -D -m644 "$srcdir/numpydoc-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ chmod 644 "$pkgdir"/usr/lib/python*/site-packages/numpydoc-$pkgver-py*.egg-info/*
+
+}